Predicting Time and Memory Demands of Object-Oriented Programs

نویسنده

  • Patrik Persson
چکیده

Embedded computer systems are subject to a multitude of requirements. These include real-time requirements, that is, such computers must respond to external events within limited time. Many systems, such as satellites and telephone switches, must also operate unattended for long periods of time. They must not fail due to defective software. Modern object-oriented programming languages, particularly Java, offer type safety, automatic memory management (garbage collection), dynamic loading of code, and object-oriented abstraction mechanisms. All these features, designed to increase software quality and flexibility, are highly desirable in embedded systems. Yet object-oriented languages are often avoided in such applications. One reason for this is that previous techniques for worst-case execution time (WCET) predictions are unsuitable for object-oriented languages. WCET predictions are necessary to guarantee fulfilment of real-time requirements. We present techniques for predicting the WCET of programs in objectoriented languages. We also show how to predict the amount of memory required by an object-oriented program; such information is required for safe scheduling of real-time garbage collection. The techniques are mainly automatic (assisted by manual annotations) and benefit from integration with a compiler. They are being implemented in an interactive development environment for a subset of the Java programming language. The presented techniques make object-oriented programming languages with garbage collection more predictable and thus more appropriate for hard real-time systems. The declarative implementation technique (reference attributed grammars) facilitates a clear and concise implementation suitable for our interactive environment. This interactivity allows timing problems, requiring revision of design or requirements, to be detected early.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Predicting References to Dynamically Allocated Objects University of Colorado at Boulder Predicting References to Dynamically Allocated Objects

Dynamic storage allocation has become increasingly important in many applications, in part due to the use of the object-oriented paradigm. At the same time, processor architectures are including deeper cache memory hierarchies to hide the increasing latency to main memory. In this paper, we investigate eeorts to predict which heap objects will be highly referenced at the time they are allocated...

متن کامل

OSM-Logic: A Fact-Oriented, Time-Dependent Formalization of Object-oriented Systems Modeling

The lack of fact-oriented, time-dependent formalizations of conceptual models leads to difficulties in inspecting and reasoning about system properties and predicting future behavior from past behavior. We can better serve these needs by formalized conceptualizations that more closely match the demands of such applications. We therefore set forth in this chapter a fact-oriented, time-dependent ...

متن کامل

AM281, Cannabinoid Antagonist/Inverse agonist, Ameliorates Scopolamine-Induced Cognitive Deficit

Objective(s) Cannabinoids have been implicated in memory deficit. We examined the effect of AM281, cannabinoid antagonist/inverse agonist in prevention of scopolamine-induced cognitive deficit. Materials and Methods  Object recognition task was used to evaluate memory in mice. Exploration time in the first and the second trial was recorded. The differences in exploration between a previously...

متن کامل

The Effect of Computer-oriented Working Memory learning on Improving Problem Solving Skills of Students with Problem Solving Difficulties in Mathematics

The purpose of this research is to determine the effects of cognitive training using software programs on improving the performance of students' skills in solving the mathematical problems. The method of this research was semi-experimental with using pre-test post-tests and control group. For this purpose, first by random multi-stage cluster, 180 male students of fourth-grade were selected, the...

متن کامل

P1: Dextran Curcumin Promotes Novel Object Recognition Memory in Rats after Ischemic Stroke

Ischemic stroke causes the depletion of energy and induces excitotoxicity and neuroinflammation in the brain that results from thrombotic blockage. Cerebral ischemia leads to many types of memory loss, including impairment of working, spatial and object recognition memoreis. Curcumin shows strong anti-oxidoinflammatory activities but it terapathics limited by its low solubility in water and cor...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000